# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-opera
pkgver=0_git20211214
pkgrel=0
_commit="3849c969c64b82e622a7655b327fa94bc5a4c7cc"
pkgdesc="port of 4DO/libfreedo to libretro"
url="https://github.com/libretro/opera-libretro"
arch="all"
license="custom"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/opera-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/opera-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 opera_libretro.so "$pkgdir"/usr/lib/libretro/opera_libretro.so
}

sha512sums="
ca57a35fb7ed3007cce818e427e182f50bd7f720f4f8e8a9bfa04ff0daf68eff6347c25d98f1d36dfedc46df51f3aadf15b2b0c3c9d7f881d4fe6539efccf19b  libretro-opera-3849c969c64b82e622a7655b327fa94bc5a4c7cc.tar.gz
"
